package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;
import java.util.Date;

import com.lanchetech.bean.request.BossIdentityReq;
import com.lanchetech.bean.vo.BossIdentityVO;
import com.lanchetech.entity.BossIdentity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BossIdentityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BossIdentity record);

    int insertSelective(BossIdentity record);

    BossIdentity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BossIdentity record);

    int updateByPrimaryKey(BossIdentity record);

    List<BossIdentityVO> findAllPage(BossIdentityReq req);

    BossIdentity findOneByUserId(@Param("userId")Long userId);

    int updateBossLevelById(@Param("updatedBossLevel")Integer updatedBossLevel,@Param("id")Long id);




}